package com.lcredu.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author 黎长容
 * @date 2025-08-11 16:59
 */
@SpringBootApplication
public class Application {
    //private static final String[] CLASSPATH_RESOURCE_LOCATIONS =
    //      new String[]{"classpath:/META-INF/resources/", "classpath:/resources/", "classpath:/static/", "classpath:/public/"}


    //
    
    //可以在yml文件中修改
//     this.staticPathPattern = "/**";
    public static void main(String[] args) {

        ConfigurableApplicationContext ioc = SpringApplication.run(Application.class, args);
        System.out.println(ioc.containsBean("imgController"));
    }
}
